﻿using System;
using System.Data.Objects;

namespace DataGeneration
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
    public class MakeAttribute : Attribute
    {
        private readonly int _priority;
        private readonly bool _execute;

        public MakeAttribute(int priority = 0, bool execute = true)
        {
            _priority = priority;
            _execute = execute;
        }
        
        public int Priority
        {
            get { return _priority; }
        }

        public bool Execute
        {
            get { return _execute; }
        }
    }
}